package com.iemp.bean.impl;

import com.iemp.bean.IEntity;

public class Role implements IEntity {
    private Integer roleId;

    private String name;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public Integer id() {
        return getRoleId();
    }

    @Override
    public void setId(Integer id) {
        setRoleId(id);
    }
}